package com.example.app.listener;

import com.example.app.entity.Message;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class NewMessageEvent {
    private Message message;
    private Long receiverId;
    private Long conversationId;
}
